package cn.laixueit.service.impl;

import cn.laixueit.pojo.User;
import cn.laixueit.service.UserService;
import com.alibaba.dubbo.config.annotation.Service;

@Service
public class UserServiceImpl implements UserService {

    @Override
    public String getname(String name) {
        return name+":java51";
    }

    @Override
    public User getUser() {
        User user = new User();
        user.setId(1);
        user.setName("admin");
        return user;
    }
}
